import request from "@/utils/request";

/**
 * 用户登录接口
 * @param username 用户手机号
 * @param password 密码
 * @returns {*}
 */
export const login = ({username, password}) => {
	return request({
		url: "/login",
		method: "POST",
		params: {
			username,
			password
		}
	})  
}
